import { get, postForm, postBlob, post, service } from '@/api/common-api';
/**
 * 中都历史页面API
 */
// 内水冷告警历史数据
export const postZdyjHistoryZdSlAlarmPage = (params) => post('/zdyj/history/zd/sl/alarmPage', params);
// 桥臂告警历史数据
export const postZdyjHistoryZdQbAlarmPage = (params) => post('/zdyj/history/zd/qb/alarmPage', params);
// 子模块告警历史数据
export const postZdyjHistoryZdZmkAlarmPage = (params) => post('/zdyj/history/zd/zmk/alarmPage', params);
// 测点告警历史数据
export const postZdyjHistoryZdDwAlarmPage = (params) => post('/zdyj/history/zd/dw/alarmPage', params);

// 水冷告警历史数据，数据采集波形图
export const getZdyjHistoryZdSlAlarmTrend = (params) => get('/zdyj/history/zd/sl/alarm/trend', {params});
// 子模块&测点告警历史数据，数据采集波形图
export const postZdyjHistoryZdDwAlarmTrend = (params) => post('/zdyj/history/zd/dw/alarm/trend', params)

// 家族对比
export const postZdyjHistoryZdHsyFc = (params) => post('/zdyj/history/zd/hsy/fc', params);
// 历史数据分页
export const postZdyjHistoryZdHsyPage = (params) => post('/zdyj/history/zd/hsy/page', params);
